using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using ShopPowerTemplate.Entities;
using System.Linq.Expressions;

namespace ShopPowerTemplate.WcfService
{
	[ServiceContract]
    public partial interface IWebAuthService : IWebAuthServiceBase
    {
        // TODO: Add your service operations here
	    [OperationContract]
	    void AddReview(Review review);

	    [OperationContract]
	    string GetPaypalCheckOutUrl(Order o);

        [OperationContract]
        Address FindAddress(int id);

        [OperationContract]
        Address AddAddress(Address address);

        [OperationContract]
        void ChangeAddress(Address address);

        [OperationContract]
        void RemoveAddress(Address address);

        [OperationContract]
        ICollection<Address> GetCustomerAddresses();

        [OperationContract]
        Order AddOrder(Order order);

        [OperationContract]
        Order FindOrder(int id);
    }
}
